package com.xishu.entity.shop;

import com.xishu.entity.AbstractEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * 刷卡机
 */
@Entity(name = "stripe_reader")
@Table(indexes = {@Index(columnList = "shopId")})
public class StripeReader extends AbstractEntity {
    private static final long serialVersionUID = -2074444758932754668L;

    @ApiModelProperty(value = "归属的餐厅公司")
    private Long companyId;

    @ApiModelProperty(value = "归属的分店")
    private Long shopId;

    @ApiModelProperty(value = "stripe生成的ID")
    private String stripeId;

    @ApiModelProperty(value = "stripe的地区ID")
    private Long stripeLocationId;

    @ApiModelProperty(value = "location名称")
    private String locationName;

    @ApiModelProperty(value = "刷卡机生成的code")
    private String registrationCode;

    @ApiModelProperty(value = "标签")
    private String label;

    public String getLocationName() {
        return locationName;
    }

    public void setLocationName(String locationName) {
        this.locationName = locationName;
    }

    public Long getStripeLocationId() {
        return stripeLocationId;
    }

    public void setStripeLocationId(Long stripeLocationId) {
        this.stripeLocationId = stripeLocationId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public String getStripeId() {
        return stripeId;
    }

    public void setStripeId(String stripeId) {
        this.stripeId = stripeId;
    }

    public String getRegistrationCode() {
        return registrationCode;
    }

    public void setRegistrationCode(String registrationCode) {
        this.registrationCode = registrationCode;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
